/*
	WeaponDeathBeam.h
	(c)2000 Palestar Inc, Richard Lyle
*/

#ifndef WEAPONDEATHBEAM_H
#define WEAPONDEATHBEAM_H

#include "Game/Constants.h"
#include "Game/GadgetBeamWeapon.h"



//----------------------------------------------------------------------------

class WeaponDeathBeam : public GadgetBeamWeapon
{
public:
	DECLARE_WIDGET_CLASS();

	// NounGadget interface
	Type type() const
	{
		return UNKNOWN;
	}
	int maxDamage() const
	{
		return 5000* enhancementModifier( enhancementSystem(), NounEnhancement::MT_DAMAGE );
	}
	int durability() const
	{
		return 0;
	}
	int addValue() const
	{
		return 50000;
	}
	int buildTechnology() const
	{
		return 1000;
	}
	int	buildCost() const
	{
		return 0;
	}
	dword buildFlags() const
	{
		return NounPlanet::FLAG_METALS;
	}
	int buildTime() const
	{
		return 120;
	}
	// GadgetWeapon interface
	int energyCost() const
	{
		return 5000* enhancementModifier( enhancementSystem(), NounEnhancement::MT_ENERGY );
	}
	int energyCharge() const
	{
		return 20* enhancementModifier( enhancementSystem(), NounEnhancement::MT_COOLDOWN );
	}
	int damage() const
	{
		return 2000* enhancementModifier( enhancementSystem(), NounEnhancement::MT_DAMAGE );
	}
	int damageRandom() const
	{
		return 0;
	}
	int damageFalloff() const
	{
		return 0;
	}
	dword damageType() const
	{
		return DAMAGE_BIO | DAMAGE_PLANET;
	}
	int duration() const
	{
		return 100;
	}
	float length() const
	{
		return 220.0f* enhancementModifier( enhancementSystem(), NounEnhancement::MT_RANGE );
	}
};

//----------------------------------------------------------------------------



#endif

//----------------------------------------------------------------------------
// EOF
